import 'package:flutter/cupertino.dart';

/// @author: lijinxi.1220@bytedance.com
/// @description:
/// @date: 2024/11/15 16:16

class AppLocalizations {
  final bool en;

  AppLocalizations(this.en);

  static AppLocalizations of(BuildContext context) {
    return Localizations.of(context, AppLocalizations);
  }

  dynamic get title {
    return en ? 'LearnPath' : "学习路径";
  }

  dynamic get about {
    return en ? 'About' : '关于';
  }

  dynamic get privacy {
    return en ? 'Privacy' : '隐私';
  }

  dynamic get contact {
    return en ? 'Contact' : '联系';
  }

  dynamic get phase {
    return en
        ? 'Provide You With The Best One-Stop Self-Learning Solution!'
        : '为您提供一站式自助学习解决方案！';
  }

  dynamic get email {
    return en ? 'Email' : '邮箱';
  }

  dynamic get password {
    return en ? 'Password' : '密码';
  }

  dynamic get forgetPassword {
    return en ? 'Forget Password?' : '忘记密码？';
  }

  dynamic get login {
    return en ? 'Login' : '登录';
  }

  dynamic get signup {
    return en ? 'Signup' : '注册';
  }

  dynamic get otherLogin {
    return en ? 'or login with' : '使用其他登录方式';
  }

  dynamic get withGoogle {
    return en ? 'Continue with Google' : '使用Google登录';
  }

  dynamic get proVersion {
    return en ? 'Get LearnPath Pro' : '获取专业版';
  }

  dynamic get addNewPlan {
    return en ? 'Add New Plan' : '添加新计划';
  }

  dynamic get filterByDate {
    return en ? 'Filter by Date' : '按日期筛选';
  }

  dynamic get createAIPlan {
    return en ? 'Create AI Plan' : '创建AI计划';
  }

  dynamic get goal {
    return en ? 'Goal' : '目标';
  }

  dynamic get background {
    return en ? 'Background' : '背景';
  }

  dynamic get preference {
    return en ? 'Preference' : '偏好';
  }

  dynamic get time {
    return en ? 'Time' : '时间';
  }

  dynamic get setting {
    return en ? 'Setting' : '设置';
  }

  dynamic get learnGoal {
    return en ? "What is Your Learning Goal?" : "你的学习目标是什么？";
  }

  dynamic get learnGoalIntro {
    return en
        ? "Identify the specific knowledge or skills you wish to learn, and how you want to apply them."
        : "明确你想要学习的具体知识或技能，以及如何应用它们。";
  }

  dynamic get learnGoalExample {
    return en
        ? "e.g. Being able to code with Python and play around with OpenAI APIs, and use Python to conduct data analysis and web scraping."
        : "e.g. 能够使用Python进行代码编写和使用OpenAI API进行数据分析和网页抓取。";
  }

  dynamic get learnGoalWithAi {
    return en ? "Refine your goal with Al" : "用AI来完善你的目标";
  }

  dynamic get next {
    return en ? "Next" : "下一步";
  }

  dynamic get previous {
    return en? "Previous" : "上一步";
  }

  dynamic get learnBackground {
    return en ? "Where Are You Starting From ?" : "从哪里开始学习？";
  }

  dynamic get learnBackgroundIntro {
    return en
        ? "Describe your existing knowledge or skill level in the area related to your learning goal."
        : "描述你在与学习目标相关的领域中的现有知识或技能水平。";
  }

  dynamic get learnBackgroundExample {
    return en
        ? "e.g. I have no programming experience but have learnt Probability& Statisitcs courses."
        : "e.g. 我没有编程经验，但学习过概率与统计课程。";
  }

  dynamic get learnBackgroundWithAi {
    return en? "Refine your background with Al" : "用AI来完善你的背景";
  }
}
